package com.cn.service;

import com.cn.dao.VideoMapper;
import com.cn.domain.Video;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 伍崇武
 * @date 2021-08-24 0024 - 下午 2:08
 */
@Service
public class VideoServiceImpl implements VideoService{

    @Autowired
    private VideoMapper mapper;

    @Override
    public Video findById(Integer videoId) {
        return mapper.findById(videoId);
    }
}
